package cc.minos.utils
{
	import flash.display.Graphics
	import flash.geom.Point;
	
	/**
	 * ...
	 * @author Minos
	 */
	public class GraphicsUtil
	{
		public static function drawRect( g:Graphics , w:Number , h:Number , color:uint = 0x000000 , alpha:Number = 0 , x:Number = 0 , y:Number = 0 ):void
		{
			if ( !g )
				return;
			g.beginFill( color , alpha );
			g.drawRect( x , y , w , h );
			g.endFill();
		}
	
	}

}